package com.jlc.book.shop.dao;

import com.jlc.book.shop.to.UserTO;

public interface UserDAO {
	
	public UserTO verifyUser(String username, String password);

	public boolean registerUser(UserTO uto);

	public boolean alreadyExit(String username);

	public String searchPassword(String uname, String email);

	public UserTO changePassword(UserTO usto, String newpass);

	public UserTO getUserInfoById(String userId);

	public boolean updateUserInfo(String userId, String email, long phone);

	
		
		
	

}
